package com.ocean;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @Author: FuGui Wang
 * @Description: TODO web容器中进行部署
 * @Date 2022/11/28
 * @Version V1.1.0
 */
public class OceanServletInitializer extends SpringBootServletInitializer
{
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        return application.sources(com.ocean.OceanApplication.class);
    }
}
